package com.linesum.code.dto;

import java.io.Serializable;

/**
 * 
 * @author chenzf
 * @date 2017年7月26日
 */
public class UserDto implements Serializable {
	private static final long serialVersionUID = 5883719872019220396L;

	private String name;
	private Long id;
	private Integer age;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("UserDto [name=");
		builder.append(name);
		builder.append(", id=");
		builder.append(id);
		builder.append(", age=");
		builder.append(age);
		builder.append("]");
		return builder.toString();
	}

}
